package com.qing.study.service;

import com.qing.study.comm.Result;

public interface SendSmsService{
    /**
     * 阿里云发送短信服务
     * @return
     * @throws Exception
     */
    Result sendSms(String phoneNum) throws Exception;

    /**
     * 根据手机号和验证码判断登录
     * @param phoneNum
     * @param code
     * @return
     */
    Result verifyCodeForLogin(String phoneNum,String code);
}
